package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 病虫害防治时间表
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_disease_month")
public class DiseaseMonth extends BaseEntity {
        /**
     * 病虫害ID
     */
    @DbTableField(columnName = "c_disease_id", dbType = DbTypeEnum.INTEGER)
    public Integer diseaseId ;

    /**
     * 防治月份 
     */
    @DbTableField(columnName = "c_month", dbType = DbTypeEnum.INTEGER)
    public Integer month ;

    /**
     * 修改人 
     */
    @DbTableField(columnName = "c_db_update_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbUpdateId ;

    /**
     * 修改时间
     */
    @DbTableField(columnName = "c_db_update_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime dbUpdateDate ;


}
